<HTML>
<HEAD>
<meta charset="UTF-8">
<title>NetworkModule - core</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">core</a>&nbsp;/&nbsp;<a href="../index.html">com.vmadalin.core.di.modules</a>&nbsp;/&nbsp;<a href="./index.html">NetworkModule</a><br/>
<br/>
<h1>NetworkModule</h1>
<code><span class="identifier">@Module</span> <span class="keyword">class </span><span class="identifier">NetworkModule</span></code>
<p>Class that contributes to the object graph <a href="../../com.vmadalin.core.di/-core-component/index.html">CoreComponent</a>.</p>
<p><strong>See Also</strong><br/>
<p><a href="#">Module</a></p>
</p>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<h4><a href="-init-.html">&lt;init&gt;</a></h4>
</td>
<td>
<p>Class that contributes to the object graph <a href="../../com.vmadalin.core.di/-core-component/index.html">CoreComponent</a>.</p>
<code><span class="identifier">NetworkModule</span><span class="symbol">(</span><span class="symbol">)</span></code></td>
</tr>
</tbody>
</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
<h4><a href="provide-http-client.html">provideHttpClient</a></h4>
</td>
<td>
<p>Create a provider method binding for <a href="#">OkHttpClient</a>.</p>
<code><span class="keyword">fun </span><span class="identifier">provideHttpClient</span><span class="symbol">(</span><span class="identifier" id="com.vmadalin.core.di.modules.NetworkModule$provideHttpClient(okhttp3.logging.HttpLoggingInterceptor)/interceptor">interceptor</span><span class="symbol">:</span>&nbsp;<span class="identifier">HttpLoggingInterceptor</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">OkHttpClient</span></code></td>
</tr>
<tr>
<td>
<h4><a href="provide-http-logging-interceptor.html">provideHttpLoggingInterceptor</a></h4>
</td>
<td>
<p>Create a provider method binding for <a href="#">HttpLoggingInterceptor</a>.</p>
<code><span class="keyword">fun </span><span class="identifier">provideHttpLoggingInterceptor</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">HttpLoggingInterceptor</span></code></td>
</tr>
<tr>
<td>
<h4><a href="provide-marvel-repository.html">provideMarvelRepository</a></h4>
</td>
<td>
<p>Create a provider method binding for <a href="../../com.vmadalin.core.network.repositiories/-marvel-repository/index.html">MarvelRepository</a>.</p>
<code><span class="keyword">fun </span><span class="identifier">provideMarvelRepository</span><span class="symbol">(</span><span class="identifier" id="com.vmadalin.core.di.modules.NetworkModule$provideMarvelRepository(com.vmadalin.core.network.services.MarvelService)/service">service</span><span class="symbol">:</span>&nbsp;<a href="../../com.vmadalin.core.network.services/-marvel-service/index.html"><span class="identifier">MarvelService</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../com.vmadalin.core.network.repositiories/-marvel-repository/index.html"><span class="identifier">MarvelRepository</span></a></code></td>
</tr>
<tr>
<td>
<h4><a href="provide-marvel-service.html">provideMarvelService</a></h4>
</td>
<td>
<p>Create a provider method binding for <a href="../../com.vmadalin.core.network.services/-marvel-service/index.html">MarvelService</a>.</p>
<code><span class="keyword">fun </span><span class="identifier">provideMarvelService</span><span class="symbol">(</span><span class="identifier" id="com.vmadalin.core.di.modules.NetworkModule$provideMarvelService(retrofit2.Retrofit)/retrofit">retrofit</span><span class="symbol">:</span>&nbsp;<span class="identifier">Retrofit</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../com.vmadalin.core.network.services/-marvel-service/index.html"><span class="identifier">MarvelService</span></a><span class="symbol">!</span></code></td>
</tr>
<tr>
<td>
<h4><a href="provide-retrofit-builder.html">provideRetrofitBuilder</a></h4>
</td>
<td>
<p>Create a provider method binding for <a href="#">Retrofit</a>.</p>
<code><span class="keyword">fun </span><span class="identifier">provideRetrofitBuilder</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></code></td>
</tr>
</tbody>
</table>
</BODY>
</HTML>
